Optimal. Leaf size=329 \[ -\frac {1}{12} \left (\frac {3 c}{x^4}+\frac {4 d}{x^3}+\frac {6 e}{x^2}+\frac {12 f}{x}\right ) \sqrt {a+b x^4}+\frac {2 \sqrt {b} f x \sqrt {a+b x^4}}{\sqrt {a}+\sqrt {b} x^2}+\frac {1}{2} \sqrt {b} e \tanh ^{-1}\left (\frac {\sqrt {b} x^2}{\sqrt {a+b x^4}}\right )-\frac {b c \tanh ^{-1}\left (\frac {\sqrt {a+b x^4}}{\sqrt {a}}\right )}{4 \sqrt {a}}-\frac {2 \sqrt [4]{a} \sqrt [4]{b} f \left (\sqrt {a}+\sqrt {b} x^2\right ) \sqrt {\frac {a+b x^4}{\left (\sqrt {a}+\sqrt {b} x^2\right )^2}} E\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{\sqrt {a+b x^4}}+\frac {\sqrt [4]{b} \left (\sqrt {b} d+3 \sqrt {a} f\right ) \left (\sqrt {a}+\sqrt {b} x^2\right ) \sqrt {\frac {a+b x^4}{\left (\sqrt {a}+\sqrt {b} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{3 \sqrt [4]{a} \sqrt {a+b x^4}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.18, antiderivative size = 329, normalized size of antiderivative = 1.00, number of steps
used = 13, number of rules used = 13, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.433, Rules used = {14, 1839,
1846, 272, 65, 214, 1899, 281, 223, 212, 1212, 226, 1210} \begin {gather*} \frac {\sqrt [4]{b} \left (\sqrt {a}+\sqrt {b} x^2\right ) \sqrt {\frac {a+b x^4}{\left (\sqrt {a}+\sqrt {b} x^2\right )^2}} \left (3 \sqrt {a} f+\sqrt {b} d\right ) F\left (2 \text {ArcTan}\left (\frac {\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{3 \sqrt [4]{a} \sqrt {a+b x^4}}-\frac {2 \sqrt [4]{a} \sqrt [4]{b} f \left (\sqrt {a}+\sqrt {b} x^2\right ) \sqrt {\frac {a+b x^4}{\left (\sqrt {a}+\sqrt {b} x^2\right )^2}} E\left (2 \text {ArcTan}\left (\frac {\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{\sqrt {a+b x^4}}-\frac {1}{12} \sqrt {a+b x^4} \left (\frac {3 c}{x^4}+\frac {4 d}{x^3}+\frac {6 e}{x^2}+\frac {12 f}{x}\right )-\frac {b c \tanh ^{-1}\left (\frac {\sqrt {a+b x^4}}{\sqrt {a}}\right )}{4 \sqrt {a}}+\frac {1}{2} \sqrt {b} e \tanh ^{-1}\left (\frac {\sqrt {b} x^2}{\sqrt {a+b x^4}}\right )+\frac {2 \sqrt {b} f x \sqrt {a+b x^4}}{\sqrt {a}+\sqrt {b} x^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 65
Rule 212
Rule 214
Rule 223
Rule 226
Rule 272
Rule 281
Rule 1210
Rule 1212
Rule 1839
Rule 1846
Rule 1899
Rubi steps
\begin {align*} \int \frac {\left (c+d x+e x^2+f x^3\right ) \sqrt {a+b x^4}}{x^5} \, dx &=-\frac {1}{12} \left (\frac {3 c}{x^4}+\frac {4 d}{x^3}+\frac {6 e}{x^2}+\frac {12 f}{x}\right ) \sqrt {a+b x^4}-(2 b) \int \frac {-\frac {c}{4}-\frac {d x}{3}-\frac {e x^2}{2}-f x^3}{x \sqrt {a+b x^4}} \, dx\\ &=-\frac {1}{12} \left (\frac {3 c}{x^4}+\frac {4 d}{x^3}+\frac {6 e}{x^2}+\frac {12 f}{x}\right ) \sqrt {a+b x^4}-(2 b) \int \frac {-\frac {d}{3}-\frac {e x}{2}-f x^2}{\sqrt {a+b x^4}} \, dx+\frac {1}{2} (b c) \int \frac {1}{x \sqrt {a+b x^4}} \, dx\\ &=-\frac {1}{12} \left (\frac {3 c}{x^4}+\frac {4 d}{x^3}+\frac {6 e}{x^2}+\frac {12 f}{x}\right ) \sqrt {a+b x^4}-(2 b) \int \left (-\frac {e x}{2 \sqrt {a+b x^4}}+\frac {-\frac {d}{3}-f x^2}{\sqrt {a+b x^4}}\right ) \, dx+\frac {1}{8} (b c) \text {Subst}\left (\int \frac {1}{x \sqrt {a+b x}} \, dx,x,x^4\right )\\ &=-\frac {1}{12} \left (\frac {3 c}{x^4}+\frac {4 d}{x^3}+\frac {6 e}{x^2}+\frac {12 f}{x}\right ) \sqrt {a+b x^4}-(2 b) \int \frac {-\frac {d}{3}-f x^2}{\sqrt {a+b x^4}} \, dx+\frac {1}{4} c \text {Subst}\left (\int \frac {1}{-\frac {a}{b}+\frac {x^2}{b}} \, dx,x,\sqrt {a+b x^4}\right )+(b e) \int \frac {x}{\sqrt {a+b x^4}} \, dx\\ &=-\frac {1}{12} \left (\frac {3 c}{x^4}+\frac {4 d}{x^3}+\frac {6 e}{x^2}+\frac {12 f}{x}\right ) \sqrt {a+b x^4}-\frac {b c \tanh ^{-1}\left (\frac {\sqrt {a+b x^4}}{\sqrt {a}}\right )}{4 \sqrt {a}}+\frac {1}{2} (b e) \text {Subst}\left (\int \frac {1}{\sqrt {a+b x^2}} \, dx,x,x^2\right )-\left (2 \sqrt {a} \sqrt {b} f\right ) \int \frac {1-\frac {\sqrt {b} x^2}{\sqrt {a}}}{\sqrt {a+b x^4}} \, dx+\frac {1}{3} \left (2 b \left (d+\frac {3 \sqrt {a} f}{\sqrt {b}}\right )\right ) \int \frac {1}{\sqrt {a+b x^4}} \, dx\\ &=-\frac {1}{12} \left (\frac {3 c}{x^4}+\frac {4 d}{x^3}+\frac {6 e}{x^2}+\frac {12 f}{x}\right ) \sqrt {a+b x^4}+\frac {2 \sqrt {b} f x \sqrt {a+b x^4}}{\sqrt {a}+\sqrt {b} x^2}-\frac {b c \tanh ^{-1}\left (\frac {\sqrt {a+b x^4}}{\sqrt {a}}\right )}{4 \sqrt {a}}-\frac {2 \sqrt [4]{a} \sqrt [4]{b} f \left (\sqrt {a}+\sqrt {b} x^2\right ) \sqrt {\frac {a+b x^4}{\left (\sqrt {a}+\sqrt {b} x^2\right )^2}} E\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{\sqrt {a+b x^4}}+\frac {\sqrt [4]{b} \left (\sqrt {b} d+3 \sqrt {a} f\right ) \left (\sqrt {a}+\sqrt {b} x^2\right ) \sqrt {\frac {a+b x^4}{\left (\sqrt {a}+\sqrt {b} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{3 \sqrt [4]{a} \sqrt {a+b x^4}}+\frac {1}{2} (b e) \text {Subst}\left (\int \frac {1}{1-b x^2} \, dx,x,\frac {x^2}{\sqrt {a+b x^4}}\right )\\ &=-\frac {1}{12} \left (\frac {3 c}{x^4}+\frac {4 d}{x^3}+\frac {6 e}{x^2}+\frac {12 f}{x}\right ) \sqrt {a+b x^4}+\frac {2 \sqrt {b} f x \sqrt {a+b x^4}}{\sqrt {a}+\sqrt {b} x^2}+\frac {1}{2} \sqrt {b} e \tanh ^{-1}\left (\frac {\sqrt {b} x^2}{\sqrt {a+b x^4}}\right )-\frac {b c \tanh ^{-1}\left (\frac {\sqrt {a+b x^4}}{\sqrt {a}}\right )}{4 \sqrt {a}}-\frac {2 \sqrt [4]{a} \sqrt [4]{b} f \left (\sqrt {a}+\sqrt {b} x^2\right ) \sqrt {\frac {a+b x^4}{\left (\sqrt {a}+\sqrt {b} x^2\right )^2}} E\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{\sqrt {a+b x^4}}+\frac {\sqrt [4]{b} \left (\sqrt {b} d+3 \sqrt {a} f\right ) \left (\sqrt {a}+\sqrt {b} x^2\right ) \sqrt {\frac {a+b x^4}{\left (\sqrt {a}+\sqrt {b} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{3 \sqrt [4]{a} \sqrt {a+b x^4}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains complex when optimal does not.
time = 11.37, size = 267, normalized size = 0.81 \begin {gather*} \frac {1}{12} \left (-\frac {\sqrt {a+b x^4} \left (3 c+4 d x+6 x^2 (e+2 f x)\right )}{x^4}+6 \sqrt {b} e \tanh ^{-1}\left (\frac {\sqrt {b} x^2}{\sqrt {a+b x^4}}\right )-\frac {3 b c \tanh ^{-1}\left (\frac {\sqrt {a+b x^4}}{\sqrt {a}}\right )}{\sqrt {a}}-\frac {24 i a \sqrt {\frac {i \sqrt {b}}{\sqrt {a}}} f \sqrt {1+\frac {b x^4}{a}} E\left (\left .i \sinh ^{-1}\left (\sqrt {\frac {i \sqrt {b}}{\sqrt {a}}} x\right )\right |-1\right )}{\sqrt {a+b x^4}}-\frac {8 \sqrt {a} \sqrt {\frac {i \sqrt {b}}{\sqrt {a}}} \left (\sqrt {b} d-3 i \sqrt {a} f\right ) \sqrt {1+\frac {b x^4}{a}} F\left (\left .i \sinh ^{-1}\left (\sqrt {\frac {i \sqrt {b}}{\sqrt {a}}} x\right )\right |-1\right )}{\sqrt {a+b x^4}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains complex when optimal does not.
time = 0.41, size = 328, normalized size = 1.00
method | result | size |
elliptic | \(-\frac {c \sqrt {b \,x^{4}+a}}{4 x^{4}}-\frac {d \sqrt {b \,x^{4}+a}}{3 x^{3}}-\frac {e \sqrt {b \,x^{4}+a}}{2 x^{2}}-\frac {f \sqrt {b \,x^{4}+a}}{x}+\frac {2 b d \sqrt {1-\frac {i \sqrt {b}\, x^{2}}{\sqrt {a}}}\, \sqrt {1+\frac {i \sqrt {b}\, x^{2}}{\sqrt {a}}}\, \EllipticF \left (x \sqrt {\frac {i \sqrt {b}}{\sqrt {a}}}, i\right )}{3 \sqrt {\frac {i \sqrt {b}}{\sqrt {a}}}\, \sqrt {b \,x^{4}+a}}+\frac {\sqrt {b}\, e \ln \left (2 x^{2} \sqrt {b}+2 \sqrt {b \,x^{4}+a}\right )}{2}+\frac {2 i \sqrt {b}\, f \sqrt {a}\, \sqrt {1-\frac {i \sqrt {b}\, x^{2}}{\sqrt {a}}}\, \sqrt {1+\frac {i \sqrt {b}\, x^{2}}{\sqrt {a}}}\, \left (\EllipticF \left (x \sqrt {\frac {i \sqrt {b}}{\sqrt {a}}}, i\right )-\EllipticE \left (x \sqrt {\frac {i \sqrt {b}}{\sqrt {a}}}, i\right )\right )}{\sqrt {\frac {i \sqrt {b}}{\sqrt {a}}}\, \sqrt {b \,x^{4}+a}}-\frac {b c \arctanh \left (\frac {\sqrt {a}}{\sqrt {b \,x^{4}+a}}\right )}{4 \sqrt {a}}\) | \(279\) |
risch | \(-\frac {\sqrt {b \,x^{4}+a}\, \left (12 f \,x^{3}+6 e \,x^{2}+4 d x +3 c \right )}{12 x^{4}}+\frac {2 i \sqrt {b}\, f \sqrt {a}\, \sqrt {1-\frac {i \sqrt {b}\, x^{2}}{\sqrt {a}}}\, \sqrt {1+\frac {i \sqrt {b}\, x^{2}}{\sqrt {a}}}\, \EllipticF \left (x \sqrt {\frac {i \sqrt {b}}{\sqrt {a}}}, i\right )}{\sqrt {\frac {i \sqrt {b}}{\sqrt {a}}}\, \sqrt {b \,x^{4}+a}}-\frac {2 i \sqrt {b}\, f \sqrt {a}\, \sqrt {1-\frac {i \sqrt {b}\, x^{2}}{\sqrt {a}}}\, \sqrt {1+\frac {i \sqrt {b}\, x^{2}}{\sqrt {a}}}\, \EllipticE \left (x \sqrt {\frac {i \sqrt {b}}{\sqrt {a}}}, i\right )}{\sqrt {\frac {i \sqrt {b}}{\sqrt {a}}}\, \sqrt {b \,x^{4}+a}}+\frac {\sqrt {b}\, e \ln \left (x^{2} \sqrt {b}+\sqrt {b \,x^{4}+a}\right )}{2}+\frac {2 b d \sqrt {1-\frac {i \sqrt {b}\, x^{2}}{\sqrt {a}}}\, \sqrt {1+\frac {i \sqrt {b}\, x^{2}}{\sqrt {a}}}\, \EllipticF \left (x \sqrt {\frac {i \sqrt {b}}{\sqrt {a}}}, i\right )}{3 \sqrt {\frac {i \sqrt {b}}{\sqrt {a}}}\, \sqrt {b \,x^{4}+a}}-\frac {b c \ln \left (\frac {2 a +2 \sqrt {a}\, \sqrt {b \,x^{4}+a}}{x^{2}}\right )}{4 \sqrt {a}}\) | \(318\) |
default | \(c \left (-\frac {\left (b \,x^{4}+a \right )^{\frac {3}{2}}}{4 a \,x^{4}}-\frac {b \ln \left (\frac {2 a +2 \sqrt {a}\, \sqrt {b \,x^{4}+a}}{x^{2}}\right )}{4 \sqrt {a}}+\frac {b \sqrt {b \,x^{4}+a}}{4 a}\right )+e \left (-\frac {\left (b \,x^{4}+a \right )^{\frac {3}{2}}}{2 a \,x^{2}}+\frac {b \,x^{2} \sqrt {b \,x^{4}+a}}{2 a}+\frac {\sqrt {b}\, \ln \left (x^{2} \sqrt {b}+\sqrt {b \,x^{4}+a}\right )}{2}\right )+d \left (-\frac {\sqrt {b \,x^{4}+a}}{3 x^{3}}+\frac {2 b \sqrt {1-\frac {i \sqrt {b}\, x^{2}}{\sqrt {a}}}\, \sqrt {1+\frac {i \sqrt {b}\, x^{2}}{\sqrt {a}}}\, \EllipticF \left (x \sqrt {\frac {i \sqrt {b}}{\sqrt {a}}}, i\right )}{3 \sqrt {\frac {i \sqrt {b}}{\sqrt {a}}}\, \sqrt {b \,x^{4}+a}}\right )+f \left (-\frac {\sqrt {b \,x^{4}+a}}{x}+\frac {2 i \sqrt {b}\, \sqrt {a}\, \sqrt {1-\frac {i \sqrt {b}\, x^{2}}{\sqrt {a}}}\, \sqrt {1+\frac {i \sqrt {b}\, x^{2}}{\sqrt {a}}}\, \left (\EllipticF \left (x \sqrt {\frac {i \sqrt {b}}{\sqrt {a}}}, i\right )-\EllipticE \left (x \sqrt {\frac {i \sqrt {b}}{\sqrt {a}}}, i\right )\right )}{\sqrt {\frac {i \sqrt {b}}{\sqrt {a}}}\, \sqrt {b \,x^{4}+a}}\right )\) | \(328\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.25, size = 30, normalized size = 0.09 \begin {gather*} {\rm integral}\left (\frac {\sqrt {b x^{4} + a} {\left (f x^{3} + e x^{2} + d x + c\right )}}{x^{5}}, x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 3.14, size = 211, normalized size = 0.64 \begin {gather*} \frac {\sqrt {a} d \Gamma \left (- \frac {3}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {3}{4}, - \frac {1}{2} \\ \frac {1}{4} \end {matrix}\middle | {\frac {b x^{4} e^{i \pi }}{a}} \right )}}{4 x^{3} \Gamma \left (\frac {1}{4}\right )} - \frac {\sqrt {a} e}{2 x^{2} \sqrt {1 + \frac {b x^{4}}{a}}} + \frac {\sqrt {a} f \Gamma \left (- \frac {1}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, - \frac {1}{4} \\ \frac {3}{4} \end {matrix}\middle | {\frac {b x^{4} e^{i \pi }}{a}} \right )}}{4 x \Gamma \left (\frac {3}{4}\right )} - \frac {\sqrt {b} c \sqrt {\frac {a}{b x^{4}} + 1}}{4 x^{2}} + \frac {\sqrt {b} e \operatorname {asinh}{\left (\frac {\sqrt {b} x^{2}}{\sqrt {a}} \right )}}{2} - \frac {b c \operatorname {asinh}{\left (\frac {\sqrt {a}}{\sqrt {b} x^{2}} \right )}}{4 \sqrt {a}} - \frac {b e x^{2}}{2 \sqrt {a} \sqrt {1 + \frac {b x^{4}}{a}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {\sqrt {b\,x^4+a}\,\left (f\,x^3+e\,x^2+d\,x+c\right )}{x^5} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________